Total Complexity | 82 |
Dependencies | 4 |
Dependents | 58 |
Total lines | 360 |
Lines of code | 243 |
Logical lines of code | 163 |
Comment lines | 27 |
Methods | 12 |
Properties | 4 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
ajax_load_module() | 33 | 26 | 83 | |
ajax_update_addon_status() | 46 | 14 | 34 | |
ajax_update_module_setting() | 50 | 9 | 26 | |
init() | 61 | 7 | 11 | |
ajax_get_token_usage_chart_data() | 52 | 6 | 23 | |
check_and_init_module_settings() | 56 | 5 | 19 | |
check_and_init_addon_status() | 56 | 5 | 19 | |
is_pro_plan() | 70 | 3 | 6 | |
get_module_settings() | 72 | 2 | 6 | |
get_addon_status() | 72 | 2 | 6 | |
is_addon_active() | 74 | 2 | 4 | |
register_ajax_handlers() | 69 | 1 | 6 |